package com.rfid.afd.model;

import com.rfid.db.bean.Rfid;
import com.rfid.util.DBManager;

public class LocateModel extends BaseUiModel{

    public void locate(String shelf,Rfid rfid) {
        String orgin = rfid.getShelf();
        rfid.setOriginShelf(orgin);
        rfid.setShelf(shelf);
        DBManager.updateRfid(rfid);
    }

}
